list1 = [85, 92, 78, 65, 88, 95, 60, 70, 80, 75]
#  a  >90  60<b<90  c<60
# dictA={}
# countA=0
# countB=0
# countC=0
# for a in list1:
#     if a>=90:
#         countA += 1
#     elif  a>=60  :
#         countB += 1
#     else:
#         countC += 1
# dictA['A']=countA
# dictA['B'] = countB
# dictA['C'] = countC
# print(dictA)


dictA={"A":0,"B":0,"C":0}
for a in list1:
    if a>=90:
        dictA['A'] += 1
    elif  a>=60  :
        dictA['B'] += 1
    else:
        dictA['C'] += 1
print(dictA)
